<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="basePath" value="${pageContext.request.contextPath}"></c:set>
<div class="container">
	<!-- 页面导航 -->
	<div class="page-header">
		<div class="page-title" style="padding-bottom: 5px">
			<h3>场地管理系统</h3>
			<ol class="breadcrumb">
				<li>场馆信息管理</li>
				<!-- <li>分类管理</li>
				<li class="active">分类编辑</li> -->
			</ol>
		</div>
	</div>
	<div class="panel panel-default">
		<div class="panel-heading"></div>
		<div style="margin-left: 240px;">
			<form class="form-horizontal" id="editTypeForm">
			
			<div class="form-group">
					<div class="col-sm-2 control-label">上级分类：</div>
					<div class="col-sm-10">
						<input type="text" id="parentNameId" readonly="readonly" placeholder="一级分类"
							class="form-control required dynamicClear load-product-type" style="cursor: pointer;">
					</div>
			</div>
	
			<div class="form-group">
				<label for="nameId" class="col-sm-2 control-label" >场馆名称:</label> 
	   			 <div class="col-sm-10">
					<input type="text" class="form-control required" name="name" id="nameId"  placeholder="请输入名字">
	    		</div>
			</div>
			<div class="form-group">
				<label for="addressId" class="col-sm-2 control-label">场馆地址:</label> 
				<div class="col-sm-10">
					<input type="text" class="form-control required" name="address" id="addressId">
				</div>
			</div>
			<div class="form-group">
				<label for="managerId" class="col-sm-2 control-label">场馆负责人:</label> 
				<div class="col-sm-10">
					<input type="text" class="form-control required" name="manager" id="managerId">
				</div>
			</div>
			<div class="form-group">
				<label for="phoneId" class="col-sm-2 control-label">场馆电话:</label> 
				<div class="col-sm-10">
					<input type="text" class="form-control required" name="phone" id="phoneId">
				</div>
			</div>
	
			<div class="form-group">
				<label for="priceId" class="col-sm-2 control-label">场馆价格:</label> 
				<div class="col-sm-10">
					<input type="text" class="form-control required" name="price" id="priceId">
				</div>
			</div>
	<!-- <div class="form-group">
		<label for="project-code"  class="col-sm-2 control-label">开始时间:</label> 
		<div class="col-sm-10">
		<input type="text" class="form-control datepicker " name="code" id="beginDateId">
		</div>
	</div>
	<div class="form-group">
		<label for="project-code" class="col-sm-2 control-label">结束时间:</label> 
		<div class="col-sm-10">
		<input type="text" class="form-control datepicker "  name="code" id="endDateId">
		</div>
	</div>
	 -->
	<div class="form-group">
         <label class="col-md-2 control-label"> 有效: </label>
         <div class="col-md-10">
            <label class="radio-inline"><input  type="radio" name="valid" checked value="1" > 启用</label>
            <label class="radio-inline"><input  type="radio" name="valid" value="0"> 禁用</label>
          </div>
    </div>
	<!--  <div class="form-group">
		<label for="noteId" class="col-sm-2 control-label">备注:</label>
		<div class="col-sm-10">
		<textarea class="form-control" name="note" id="noteId"></textarea>
		</div> 
	</div>
	-->
				<div class="form-group">
					<div class="col-sm-5 control-label"></div>
					<input type="button" id="btn-save" class="btn btn-primary" value="保存">
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" id="btn-return" class="btn btn-warning" value="返回">
				</div>
			</form>
		</div>
	</div>
	<!-- 选择菜单 -->
	<div class="layui-layer layui-layer-page layui-layer-molv layer-anim" id="typeLayer" type="page" times="2" showtime="0" contype="object"
		style="z-index: 19891016; width: 300px; height: 450px; top: 100px; left: 500px; display:none">
		<div class="layui-layer-title" style="cursor: move;">选择菜单</div>
		<div class="layui-layer-content" style="height: 358px;">
			<div style="padding: 10px;" class="layui-layer-wrap">
				<ul id="typeTree" class="ztree"></ul>    <!-- 动态加载树 -->
			</div>
		</div>
		<span class="layui-layer-setwin"> <a class="layui-layer-ico layui-layer-close layui-layer-close1 btn_cancle" ></a></span>
		<div class="layui-layer-btn layui-layer-btn-">
			<a class="layui-layer-btn0 btn-confirm">确定</a>
			<a class="layui-layer-btn1 btn-cancle">取消</a>
		</div>
	</div>
</div>
<script type="text/javascript" src="${basePath}/js/project/site_edit.js"></script>




